#include <iostream>
using namespace std;

int main() {
    //const char *s = "hello world";
    char s[] = "hello world";
    cout << s << endl;
    s[0] = 'B'; // error: assignment of read-only location '* s'
    cout << s << endl;
  
}